package com.seven.controller;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author seven
 * @Date 2020/4/24 14:53
 **/
@RestController
@Slf4j
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        log.info("你好");
        return "hello Log!";
    }
}
